// src/router/index.jsx
import { createBrowserRouter } from 'react-router-dom'
import Home from './views/Home.jsx'
import Login from './views/Login.jsx'

const router = createBrowserRouter([
	{
		path: '/',
		element: <Home />,
    errorElement:<ErrorPage />
	},
	{
		path: '/login',
		element: <Login />,
    errorElement:<ErrorPage />
	}
])

export default router
